package com.inmaytide.website.domain.entities.deploy;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "deploy_project")
public class DeployProject implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private Long id;

    /**
     * 项目名称
     */
    @Column(name = "name")
    private String name;

    /**
     * 项目路径
     */
    @Column(name = "path")
    private String path;

    /**
     * 启用
     */
    @Column(name = "in_use")
    private boolean inUse = true;

    /**
     * 备注
     */
    @Column(name = "desc")
    private String desc;

    /**
     * 排序
     */
    @Column(name = "sort")
    private Long sort;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public boolean isInUse() {
        return inUse;
    }

    public void setInUse(boolean inUse) {
        this.inUse = inUse;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }
}